package com.julyup.core.exception;


import com.julyup.core.constant.ErrorEnum;

public class BusinessException extends RuntimeException {

  private ErrorEnum error;

  public BusinessException(ErrorEnum e) {
    this.error = e;
  }

  public ErrorEnum getError() {
    return error;
  }
}
